package com.guigu.www.service.Impl;

import com.guigu.www.dao.QzyxMapper;
import com.guigu.www.pojo.Qzyx;
import com.guigu.www.service.QzyxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class QzyxServiceImpl implements QzyxService {
    @Autowired
    private QzyxMapper qzyxMapper;
    @Override
    public Qzyx queryAll() {
        return qzyxMapper.queryAll();
    }

    @Override
    public int xg(Qzyx qzyx) {
        return qzyxMapper.updateByPrimaryKey(qzyx);
    }
}
